﻿<Application
    x:Class="NewsReaderApp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:cvt="using:NewsReaderApp.Helpers"
    xmlns:local="using:NewsReaderApp">

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <!-- 
                    Styles that define common aspects of the platform look and feel
                    Required by Visual Studio project and item templates
                 -->
                <!--<ResourceDictionary Source="Common/StandardStyles.xaml"/>-->
                <ResourceDictionary Source="Common/AppStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <x:String x:Key="AppName">Offline News Reader</x:String>
            <cvt:BooleanToVisibilityConverter x:Key="boolToVis"/>
            <cvt:BooleanToVisibilityConverter x:Key="negBoolToVis" TrueValue="Collapsed"  FalseValue="Visible"/>
            <cvt:NullToVisibilityConverter x:Key="nullToVis" NullValue="Collapsed" NonNullValue="Visible" />
            <cvt:NullToVisibilityConverter x:Key="negNullToVis" NullValue="Visible" NonNullValue="Collapsed" />
        </ResourceDictionary>
    </Application.Resources>
</Application>
